xend: pass-through: Clean up hvm_destroyPCIDevice()
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:39:27 +0000 (07:39 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Jun 2009 06:39:27 +0000 (07:39 +0100)
commit99951f1845fbe12b3f0e712c07d3e945071164c3
treef2ec00d4ed82924b2b5a7634245dc056f4f21ed8
parent97fbb6346a69e8e49079fae01e2bf1ddfc294801
xend: pass-through: Clean up hvm_destroyPCIDevice()

There seems to be little need to use the domain, bus, slot and
function to look up the virtual slot to pass as the argument to
hvm_destroyPCIDevice(), only to have hvm_destroyPCIDevice() use the
virtual slot for the sole purpose of looking up the domain, bus, slot
and function.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendDomainInfo.py